<extend name="Public/layoutMessage" />
<block name="title">职员登录</block>
<block name="CSS">
<link href="__PUBLIC__/admin/css/pages/login.css" rel="stylesheet" type="text/css"/>
</block>
<block name="loadJS">
<script src="__PUBLIC__/admin/plugins/jquery-validation/dist/jquery.validate.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/admin/plugins/backstretch/jquery.backstretch.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/admin/scripts/layer/layer.js" type="text/javascript"></script>
</block>
<block name="setJS">
<script src="__PUBLIC__/admin/scripts/custom/validateLogin.js" type="text/javascript"></script>
<script>
var remoteUrl="<{:U('checkVerify')}>";
</script>
</block>
<block name="initJS">
	Login.init();
</block>
<block name="body">class="login"</block>
<block name="page">
<!-- BEGIN LOGO -->
<div class="logo">
	<a href="index.html">
		<img src="__PUBLIC__/admin/img/logo-big.png" alt=""/>
	</a>
</div>
<!-- END LOGO -->
<!-- BEGIN LOGIN -->
<div class="content">
	<!-- BEGIN LOGIN FORM -->
	<form class="login-form" action="<{:U('login')}>" method="post">
	<!-- <form class="login-form"> -->
		<h3 class="form-title">管理员登录</h3>
		<div class="alert alert-danger display-hide">
			<button class="close" data-close="alert"></button>
			<span>
				 请输入完整后再提交。
			</span>
		</div>
		<div class="form-group">
			<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
			<label class="control-label visible-ie8 visible-ie9">用户名</label>
			<div class="input-icon">
				<i class="fa fa-user"></i>
				<input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="用户名" name="loginName" value="<{$loginName}>"/>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label visible-ie8 visible-ie9">密码</label>
			<div class="input-icon">
				<i class="fa fa-lock"></i>
				<input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="密码" name="loginPwd"/>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label visible-ie8 visible-ie9">验证码</label>
			
			<div class="input-icon">
				<i class="fa fa-arrow-circle-o-right"></i>
				<input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="验证码" name="verify"/>
				<img src="<{:U('Public/getVerify')}>" onclick="this.src=this.src + '?i='+Math.random();" style="position:absolute;top:1px;right:1px"/>
			</div>
			
		</div>
		<div class="form-actions">
			<label class="checkbox">
			<input type="checkbox" name="remember" value="1"/> 记住登录状态 </label>
			<button type="submit" class="btn blue pull-right">
			登录 <i class="m-icon-swapright m-icon-white"></i>
			</button>
		</div>
	</form>
	<!-- END LOGIN FORM -->
	
</div>
<!-- END LOGIN -->
<!-- BEGIN COPYRIGHT -->
<div class="copyright">
	 <{$COMMON.copyRight}>
</div>
<!-- END COPYRIGHT -->
</block>


